const EnvContext = require('../../../common/context/EnvContext');

exports.switchHide = function () {
    const mainWin = EnvContext.getInstance().mainWin
    if (!mainWin.isVisible()) {
        mainWin.show()
    } else if (mainWin.isVisible()) {
        mainWin.hide()
    }
}



